package org.sikyon.chocolatebiscuit.services;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import static javax.ws.rs.core.MediaType.APPLICATION_JSON;

@Path("/ping")
public class PingService {

    @GET
    @Path("/")
    @Produces({APPLICATION_JSON})
    public String ping() {
        return "success";
    }
}
